// 一级路由
const Index= ()=> import('@/views/index')

// tabbar路由
const Home= ()=> import('@/views/home/Home')
const Mine= ()=> import('@/views/mine/Mine')
const Order= ()=> import('@/views/order/Order')

const City= ()=> import('@/views/city/city')
const Address= ()=> import('@/views/address/address')

export const IndexRouter={
  path:"/",
  component:Index,
  children:[
    {path:'',redirect: "home"},
    {path:'home',name:'home',component:Home },
    {path:'order',name:'order',component:Order },
    {path:'mine',name:'mine',component:Mine },
    {path:'address',name:'address',component:Address },
    {path:'city',name:'city',component:City },
  ]
}